package com.webproject.dao.RateManager;

import java.util.List;

import com.webproject.core.Page;
import com.webproject.entity.rate.MonthRate;
import com.webproject.entity.rate.WaterElectricityRate;

public interface RateManagerDao {

	List<WaterElectricityRate> queryWaterEle(Page page);
	int queryWaterEleCount(Page page);
	void saveWaterEle(WaterElectricityRate rate);
	void updateWaterEle(WaterElectricityRate rate);
	List<WaterElectricityRate> queryWaterEleByCondition(MonthRate rate);
	List<WaterElectricityRate> querySavedWaterEle(WaterElectricityRate rate);
	
	List<MonthRate> queryMonthRate(Page page);
	int queryMonthRateCount(Page page);
	void saveMonthRate(MonthRate rate);
	void updateMonthRate(MonthRate rate);
}
